<!DOCTYPE html>
<html lang="en">
<head>
<title>Admin :: <%= @page_title %></title>
	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="description"	content="<%= @page_summary.to_s %>" />
	<meta name="keywords" 		content="" />
	<meta name="author" 			content="" />
	
	<!-- Framework CSS -->
	<link rel="stylesheet" href="/stylesheets/blueprint/screen.css" type="text/css" media="screen, projection" />
	<link rel="stylesheet" href="/stylesheets/blueprint/print.css" type="text/css" media="print" />
  <!--[if lt IE 8]><link rel="stylesheet" href="/stylesheets/blueprint/ie.css" type="text/css" media="screen, projection" /><![endif]-->
	<link rel="stylesheet" href="/stylesheets/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection" />
 
	<!-- Custom CSS -->
	<link rel="stylesheet" href="/stylesheets/custom/admin.css" type="text/css" media="screen, projection" />
	
	<!-- Javascripts -->
	<script type="text/javascript" src="/javascripts/prototype.js"></script>
	<script type="text/javascript" src="/javascripts/effects.js"></script>
	<script type="text/javascript" src="/javascripts/controls.js"></script>
	<script type="text/javascript" src="/javascripts/application.js"></script>
	<script type="text/javascript" src="/javascripts/showdown.js"></script>
	
  <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script>
  <script src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js' type='text/javascript'></script>
  <script type="text/javascript">
    var $j = jQuery.noConflict();
  </script>
  
	<!-- Favicon -->
  <link rel="shortcut icon" type="image/ico" href="/favicon.ico" /> 
	
	<!-- RSS Auto-discovery -->
	<!-- <link rel="alternate" type="application/rss+xml" title="RSS" href="/events.rss" /> -->
</head>

<body id="<%= "#{params[:controller].gsub(/\//,"_")}_#{params[:action]}" %>">
  <div id="header">
    <div class="container">
      <h1>Site Admin</h1>
      <div class="span-24 navigation">
        <ul>
          <li class="span-4<%= params[:controller] == "admin/projects" ? " active" : nil.to_s %>"><%= link_to "PROJECTS<br><span>Manage Projects</span>", admin_projects_path %></li>
          <li class="span-4<%= params[:controller] == "admin/blog" ? " active" : nil.to_s %>"><%= link_to "BLOG<br><span>Manage Blog Posts</span>", admin_blog_posts_path %></li>
          <li class="span-4<%= params[:controller] == "admin/users" ? " active" : nil.to_s %>"><%= link_to "USERS<br><span>Manage Users</span>", admin_users_path %></li>
          <li class="span-4"><%= link_to "FRONT<br><span>example.com</span>", "/" %></li>
          <li class="span-4"><%= link_to "LOGOUT<br><span>Goodbye!</span>", "/logout" %></li>
        </ul> 
      </div> <!-- .navigation -->
    </div>
  </div>
  
  <div class="container">
    <%= yield %>
  </div>

</body>
</html>